<%--
  Created by IntelliJ IDEA.
  User: 29238
  Date: 2021/5/18
  Time: 10:28
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>

<head>
    <title>新增用户</title>
    <!-- 引入 Bootstrap -->
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>

<body>
<!-- 主容器 -->
<div class="container">
    <!-- 标题 -->
    <div class="row clearfix">
        <div class="col-md-12 column">
            <div class="page-header">
                <h1>
                    <small>新增用户</small>
                </h1>
            </div>
        </div>
    </div>
    <!-- 标题 -->

    <!-- 表单 -->
    <form action="${pageContext.request.contextPath}/user/addUser" method="post">

        <div class="form-group">
            <label>学号</label>
            <input type="text" name="loanNo" class="form-control" required>
        </div>

        <div class="form-group">
            <label>姓名</label>
            <input type="text" name="loanName" class="form-control" required>
        </div>

        <div class="form-group">
            <label>性别</label>
            <input type="text" name="sex" class="form-control" required>
        </div>

        <div class="form-group">
            <label>班级</label>
            <input type="text" name="classNo" class="form-control" required>
        </div>

        <div class="form-group">
            <label>专业</label>
            <input type="text" name="major" class="form-control" required>
        </div>

        <div class="form-group">
            <input type="submit" class="form-control" value="添加">
        </div>

    </form>
    <!-- 表单 -->
</div>

</body>

</html>
